package org.example.stockdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.stockdemo.dto.StockMonitorDTO;
import org.example.stockdemo.entity.StockMonitor;
import org.example.stockdemo.vo.StockMonitorVO;

import java.util.List;

public interface StockMonitorService extends IService<StockMonitor> {

    //    批量保存股票数据
    boolean batchSave(List<StockMonitor> stockMonitorList);

    void addMonitor(StockMonitorDTO stockMonitorDTO);

    StockMonitor fillPrice(StockMonitorDTO stockMonitorDTO);

    StockMonitorVO detail(String stockCode);

}